package com.shr.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shr.lease.model.entity.RoomAttrValue;
import com.shr.lease.web.admin.service.RoomAttrValueService;
import com.shr.lease.web.admin.mapper.RoomAttrValueMapper;
import com.shr.lease.web.admin.vo.attr.AttrValueVo;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liubo
 * @description 针对表【room_attr_value(房间&基本属性值关联表)】的数据库操作Service实现
 * @createDate 2023-07-24 15:48:00
 */
@Service
public class RoomAttrValueServiceImpl extends ServiceImpl<RoomAttrValueMapper, RoomAttrValue>
        implements RoomAttrValueService {

    @Resource
    private RoomAttrValueMapper roomAttrValueMapper;

    @Override
    public List<AttrValueVo> listAttrValueVo(Long roomId) {
        return roomAttrValueMapper.selectAttrValueVo(roomId);
    }
}




